package com.xxx.user.mapper;


import com.xxx.user.domain.User;
import com.xxx.user.query.UserQuery;

import java.util.List;

/**
 * @author BoWei Wang
 * @date 2025/8/5
 */
public interface UserMapper {
    List<User> findAll();

    User findOne(Long id);

    List<User> queryPage(UserQuery userQuery);

    void addUser(User user);

    void updateUser(User user);

    void deleteUser(Long id);

    void batchDeleteUsers(Long[] ids);
}
